package lu.med.praxiswahl.wahlumed.client.kalender;

import java.awt.Color;
import java.awt.Graphics;

import javax.swing.JButton;

/**
 * 
 * @author Lars Holger Roth
 */
public class ExtraButton extends JButton {
	/**
     * 
     */
	private static final long serialVersionUID = 5841819250551282752L;

	public ExtraButton(String txt) {
		super(txt);
		setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/green_point_create.png")));
	}

//	@Override
//	public void paint(Graphics g) {
//		super.paint(g);
//		// Zeichnet einen gr�nen Punkt auf das Button
//		g.setColor(new Color(0, 150, 0));
//		g.fillOval(this.getWidth() - 5 - (this.getHeight() - 10), 5,
//				this.getHeight() - 10, this.getHeight() - 10);
//		g.setColor(new Color(0, 0, 0));
//		g.drawOval(this.getWidth() - 5 - (this.getHeight() - 10), 5,
//				this.getHeight() - 10, this.getHeight() - 10);
//	}
}
